package servlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class TestMD5List
 */
@WebServlet("/TestMD5List")
public class TestMD5List extends HttpServlet
{
	private static final long serialVersionUID = 1L;

	/**
	 * @see HttpServlet#HttpServlet()
	 */
	public TestMD5List()
	{
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
	 *      response)
	 */
	protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException
	{
		PrintWriter out = response.getWriter();
		// TODO Auto-generated method stub
		String[] strArr =
		{ "adrians", "alana", "albertc", "aloysiust", "amrana", "andreat",
				"angkiank", "arthic", "balac", "benedictt", "brandonn",
				"callyn", "cheongpy", "cherph", "chewlih", "chewph", "chongwk",
				"choockg", "christiac", "chuakl", "chuayt", "chungch",
				"cindylow", "dennisan", "edwinch", "edwinf", "elainek",
				"eunicea", "fuamh", "gaoyan", "garyl", "gilbertc", "gohms",
				"gracechan", "grahamn", "hengtn", "hengyp", "howc", "huangsh",
				"huangwl", "huzq", "jamest", "jarics", "jessicap", "joannak",
				"johnl", "joycel", "katherineh", "katherinel", "keelr",
				"keithf", "kelvinn", "kohcc", "kohns", "kravitz ", "kwask",
				"laiph", "lamck", "lamww", "lawcy", "lawrencet", "leecb",
				"leefy", "leesl", "leowzz", "leungsc", "liawch", "limah",
				"limaih", "limkiank", "limkt", "limsk", "lohcy", "lohkp",
				"lohmoiy", "losl", "mahkw", "maktn", "markk", "melvint",
				"michaelng", "ngpl", "ohsl", "ongec", "ongtk", "pangnk",
				"phoonlk", "royn", "scottj", "seehf", "seetohch", "serenag",
				"simonl", "simony", "sinkh", "sinyb", "siva", "suannm",
				"sumhm", "tanail", "tangxls", "tanlic", "tannb", "tansk",
				"tantc", "tanwc", "tayhs", "taysf", "tehah", "teobw", "teols",
				"teolt", "teoyk", "thamkk", "tinaw", "tommyl", "twwong",
				"verona", "victoriac", "vincentp", "viridisl", "wagioc",
				"wendyl", "wongsk", "wongyh", "yaptk", "yarnyc", "yeobp",
				"yipch", "yongcf", "zenl" };
		for(int i = 0; i < strArr.length; i++)
		{
			out.println(Logic.MD5.convert(strArr[i]));
		}
	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse
	 *      response)
	 */
	protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException
	{
		// TODO Auto-generated method stub
	}

}
